package com.example.administrator.kotiln.ui

import android.os.Bundle
import com.example.administrator.kotiln.R
import com.example.administrator.kotiln.base.BaseActivity
import com.example.administrator.kotiln.utils.Utility
import kotlinx.android.synthetic.main.activity_head.*

/**
 * Created by Administrator on 2017/8/23.
 */

class ThreadActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        Utility.setActionBar(this)
        setContentView(R.layout.activity_thread)
        threads()
        initValue()
    }

    private fun threads() {
        Thread(Runnable { }).start()
    }

    private fun initValue() {
        back.setOnClickListener {
            finish()
        }
    }
}
